

package com.hazelcast.client.impl.protocol.codec.builtin;

import com.hazelcast.client.impl.protocol.ClientMessage;
import com.hazelcast.sql.impl.expression.RowValue;

public final class HazelcastRowValueCodec {
    private HazelcastRowValueCodec() {
    }

    public static void encode(ClientMessage clientMessage, RowValue rowValue) {
        StringCodec.encode(clientMessage, rowValue.toString());
    }

    public static String decode(ClientMessage.ForwardFrameIterator iterator) {
        return StringCodec.decode(iterator);
    }
}
